<template>
  <div>
     <MyA> 
      <template #tesc="scop">
        <button style="color:red" v-if="scop.flag">通过</button>
        <button style="color:green" v-else>不通过</button>
      </template>
     </MyA>

   </div>
</template>
 
<script>
import MyA from "./components/MyA.vue"
export default {
  name: "App",
  components: {
    MyA
  },
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>